//#define __FORCE_TRACE__
//#define __FORCE_DEBUG__
//#define __FORCE_INFO__
#define THIS_FILE "player\fn_playerHasRole.sqf"
#include <tmf_constants.h>
#include <tmf_macros.h>

TRACE_1("Start",_this);
TMFPROFILERSTART;

private ["_unit","_role","_result"];
DEFAULT_PARAM(_unit,0,objNull);
DEFAULT_PARAM(_role,1,"");
_result = true;

//TODO: Check for the possible roles:
// - Medic
// - Engineer
// - Radio (Arty, CAS and Sat View from MSO)
// - Leader (Arty, Taxi from MSO)
// - Rescue

TRACE_1("End",_result);
TMFPROFILERSTOP;

_result;